<include file="Member:header"/>
<script src="../Public/js/city3.js" type="text/javascript"></script>
<div id="content">
    <div class="crumbs_nav mb">
        <span class="icon">当前位置：</span>
        <a href="/">首页</a>
        &gt; <a href="/">会员中心</a>
        &gt; 个人资料
    </div>
    <include file="Member:b_menu"/>
    <div class="w730 fl">
        <div class="cui-box5">
            <div class="title">
                <h2 class="tith wz2">个人资料</h2>
            </div>
            <!--end title-->
            <div class="cbox pa10 mh350">
                <form method="post" action="{:U('info')}" class="FormInline">
                    <ul class="elem_form">
                        <li>
                            <span class="label_like">会&nbsp;员&nbsp;名：</span>{$datainfo.username}
                        </li>
                        <li>
                            <span class="label_like">注册邮箱：</span>{$datainfo.email}
                        </li>
                        <li>
                            <span class="label_like">真实姓名：</span>
                            <input type="text" name="realname" class="input_1" value="{$datainfo.content.realname}" />
                        </li>
                        <li>
                            <span class="label_like">性&nbsp;&nbsp;&nbsp;&nbsp;别：</span>
                            <input name="sex" type="radio" value="1" <eq name="datainfo.content.sex" value="1">checked</eq>/> 男
							<input name="sex" type="radio" value="0" <eq name="datainfo.content.sex" value="0">checked</eq>/> 女
                        </li>
                        <li>
                            <span class="label_like">所在地区：</span>
                            <select id="Search_1" onchange="ChangeSelect(this.value,'Search_2','',ArrCity3)" style="width: 150px" name="province"></select>省
							<select id="Search_2" onchange="ChangeSelect(this.value,'Search_3','',ArrCity3)" style="width: 150px" name="city" ></select> 市
							<select id="Search_3" onchange="" style="width: 150px" name="county"></select>区
							<script type="text/javascript">
								var ipro = '{$datainfo.content.province}';
								if(ipro == ''){
									ChangeSelect('0','Search_1','370000',ArrCity3);
									ChangeSelect('370000','Search_2','370200',ArrCity3);
									$('#Search_3').val('370202');
								}else{
									ChangeSelect('0','Search_1',ipro,ArrCity3);
									var icity = '{$datainfo.content.city}';
									if(icity == ''){
										ChangeSelect('370000','Search_2','370200',ArrCity3);
									}else{
										ChangeSelect(ipro,'Search_2',icity,ArrCity3);
										var icounty = '{$datainfo.content.county}';
										if (icounty != '') {
											$('#Search_3').val(icounty);
										}else{
											$('#Search_3').val('370202');
										}
									}
								}
							</script>
                        </li>
                        <li>
                            <span class="label_like">街道地址：</span>
                           <textarea class="text_a_2" name="address">{$datainfo.content.address}</textarea>
                        </li>
                        <li>
                            <span class="label_like">邮政编码：</span>
                             <input name="postcode" type="text" class="input_1" value="{$datainfo.content.postcode}" />
                        </li>
                        <li>
                            <span class="label_like">手&nbsp;机&nbsp;号：</span>
                            <input name="mobile" type="text" class="input_1"  value="{$datainfo.content.mobile}"/>
                        </li>
                        <li>
                            <span class="label_like">固定电话：</span>
                            <input name="tel" type="text" class="input_1" value="{$datainfo.content.tel}"/>
                        </li>
                        <li>
                            <span class="label_like">支付宝账号：</span>
                            <input name="paycode" type="text" class="input_1" /><span class="gray6">推广结算时需填写</span>
                        </li>
                        <li class="container_btn">
                            <button class="input_btn" type="submit">
                                保存
                            </button>
                        </li>
                    </ul>
                </form>
            </div>
            <!--end cbox-->
        </div>
        <!--end cui-box5-->
    </div>
    <!--end w220-->
    <div class="clear">
    </div>
</div>
<include file="Layout:footer"/>